package com.qqtech.qquan.draw.dao;

import java.util.List;

import org.springframework.data.domain.Pageable;

import com.qqtech.core.frame.dao.BaseDao;
import com.qqtech.qquan.draw.model.*;

public interface DrawBatchDao extends BaseDao<DrawBatch> {
	/**
	 * 减少库存
	 * @param id
	 * @return
	 */
	int updateMinusQuantity(Integer id);

	List<DrawBatchVo> queryList4Draw(DrawBatchQuery drawBatchQuery, Pageable pageable);
}
